package cloud.ben.smallscalepigfarmmanagementsystem.service.pig;

import cloud.ben.smallscalepigfarmmanagementsystem.entity.pig.PigDeathRecords;
import cloud.ben.smallscalepigfarmmanagementsystem.entity.pig.PigFatteningHouseDeathRecords;
import cloud.ben.smallscalepigfarmmanagementsystem.utils.RespBean;

/**
 * @Author: Ben
 * @Date: 2022/4/6 11:26
 */
public interface IPigFatteningHouseDeathRecordsService {

    /**
     * 增加育肥舍死亡记录信息
     * @param pigFatteningHouseDeathRecords
     * @return RespBean
     */
    RespBean insertPigFatteningHouseDeathRecords(PigFatteningHouseDeathRecords pigFatteningHouseDeathRecords);

    /**
     *根据id删除育肥舍死亡记录信息
     * @param id
     * @return RespBean
     */
    RespBean deletePigFatteningHouseDeathRecords(Integer id);

    /**
     * 修改育肥舍死亡记录信息
     * @param pigFatteningHouseDeathRecords
     * @return RespBean
     */
    RespBean updatePigFatteningHouseDeathRecords(PigFatteningHouseDeathRecords pigFatteningHouseDeathRecords);


    /**
     * 分页查询育肥舍死亡记录信息
     * @param pageNumber
     * @param pageSize
     * @return RespBean
     */
    RespBean selectPigFatteningHouseDeathRecordsByPage(Integer pageNumber,Integer pageSize);


    /**
     *查询育肥舍死亡记录数量（方便分页）
     * @return RespBean
     */
    RespBean selectPigFatteningHouseDeathRecordsNum();


}
